package com.cn.study0010.test005;

/**
 * @author lw
 * @ClassName Test006.java
 * @Description
 * @createTime 2023年05月16日 16:02:00
 */
public class Test006 {
    public static void main(String[] args) {

        Customer customer=new Customer();
        customer.integral=3505;
        customer.card="金卡";
        if (customer.card.equals("金卡")&&customer.integral>1000
                || customer.card.equals("普卡")&&customer.integral>5000){
            System.out.println("积分："+customer.integral+"卡类型"+customer.card);
            System.out.println("回馈积分500分");
        }else{
            System.out.println("您不符合积分回馈用户");
        }
    }
}
